home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
ENTERPRS
/
C128
/
TERMS
/
BTPV1.LZH
/
ascii rs-323
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
1992-07-16
|
302b
|
18 lines
10 REM
20 REM
100 OPEN2,2,3,CHR$(6+32)+CHR$(32+128)
110 GET#2,A$
200 REM
210 GET B$
220 IF B$<>"" THEN PRINT#2,B$;
230 GET#2,C$
240 PRINT B$;C$;
250 SR=ST:IF SR=0 OR SR=8 THEN 200
310 PRINT "ERROR: ";
320 IF SR AND 1 THEN PRINT "PARITY"
330 IF SR AND 2 THEN PRINT "PARITY"
340 IF SR AND 4 THEN PRINT "PARITY"
350 IF SR AND 128 THEN PRINT "PARITY"
360 IF (PEEK(673) AND 1)THEN 360
370 CLOSE 2